package com.rmfyzxfw.caseprocess.service;

import com.rmfyzxfw.caseprocess.boot.result.page.Pagination;
import com.rmfyzxfw.caseprocess.model.cmd.DataNodeItemCmd;
import com.rmfyzxfw.caseprocess.model.cmd.DataNodeItemDelCmd;
import com.rmfyzxfw.caseprocess.model.param.DataNodeConfigListParam;
import com.rmfyzxfw.caseprocess.model.param.DataNodeListParam;
import com.rmfyzxfw.caseprocess.model.po.DataNode;
import com.baomidou.mybatisplus.extension.service.IService;
import com.rmfyzxfw.caseprocess.model.vo.DataNodeListVO;
import com.rmfyzxfw.caseprocess.model.vo.ProcessDataNodeListVO;

import java.util.List;

/**
* @author GYW
* @description 针对表【t_data_node(数据节点)】的数据库操作Service
* @createDate 2024-08-14 16:11:02
*/
public interface DataNodeService extends IService<DataNode> {

    void addDataNodeItem(DataNodeItemCmd cmd);

    void removeDataNodeItem(DataNodeItemDelCmd cmd);

    Pagination<DataNodeListVO> list(DataNodeListParam param);

    List<ProcessDataNodeListVO> processDataNodeList(String processId);

    Pagination<DataNodeListVO> configList(DataNodeConfigListParam param);
}
